package net.hserver.admin.system.entity;

import cn.hserver.plugin.web.annotation.validate.NotNull;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Objects;

/**
 * 角色和菜单关联表
 *
*
 * @since 2022-06-14
 */
@Getter
@Setter
@Table("tab_role_menu")
public class RoleMenu  {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @Id (keyType = KeyType.None)
    private Long roleId;

    /**
     * 菜单ID
     */
    private Long menuId;

}
